<include file="__THEME__/header" />

<script  type="text/javascript" src="__PUBLIC__/js/jquery.126.js" ></script>
<script  type="text/javascript" src="__PUBLIC__/js/kxthumb/ui.core.packed.js" ></script>
<script type="text/javascript" src="__PUBLIC__/js/kxthumb/ui.draggable.packed.js" ></script>
<script type="text/javascript" src="__PUBLIC__/js/kxthumb/thumb.js"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/js/kxthumb/main.css" />

<div class="content"><!-- 内容 begin  -->
  <include file="__THEME__/apps" />
  <div class="main"><!-- 画布 begin  -->

		&nbsp;<p>&nbsp;<p>&nbsp;<p>&nbsp;<p>&nbsp;<p>&nbsp;<p>&nbsp;<p>
		

		<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0" >
		  <tr><td height="25">&nbsp;</td>
				<td width="369" height="25">&nbsp;</td>
		  </tr>
			<tr>
				<td width="162">
			  <div class="len_bbs_userpic" id="userfacediv">
						<img name="userface" id="userface" src="__ROOT__/data/thumb/xxx_s.jpg?<?php echo time();?>"/>
					</div>


					<table name="tbface" id="tbface" width="98%" border="0" cellpadding="3" cellspacing="1" style="display:none">
						<tr>
							<td  bgcolor="#FFFFFF">
								<div id="">
									<div class="title"><b> 裁切头像照片</b></div>
									<div class="uploadtooltip">您可以拖动照片以裁剪满意的头像</div>
									<div id="Canvas" class="uploaddiv">

										<div id="ImageDragContainer">
											<img src='__PUBLIC__/js/kxthumb/image/dd.JPG' id='ImageDrag' class='imagePhoto'> 
										</div>
										<div id="IconContainer">
											<img src='__PUBLIC__/js/kxthumb/image/dd.JPG' id='ImageIcon' class='imagePhoto'>                   
										</div>
									</div>
									<div class="uploaddiv">
										<table>
											<tr>
												<td id="Min">
												<img alt="缩小" src="__PUBLIC__/js/kxthumb/image/_c.gif" onMouseOver="this.src='__PUBLIC__/js/kxthumb/image/_c.gif';" onMouseOut="this.src='__PUBLIC__/js/kxthumb/image/_h.gif';" id="moresmall" class="smallbig" />                                </td>
												<td>
													<div id="bar">
														<div class="child"></div>
													</div>
												</td>
												<td id="Max">
													<img alt="放大" src="__PUBLIC__/js/kxthumb/image/c.gif" onMouseOver="this.src='__PUBLIC__/js/kxthumb/image/c.gif';" onMouseOut="this.src='__PUBLIC__/js/kxthumb/image/h.gif';" id="morebig" class="smallbig" />
												</td>
											</tr>
										</table>
									</div>
									<form ACTION="__URL__/saveThumb" method="post">
										<input type="hidden" name="person" value="person">
										<div class="uploaddiv">
											<input name="btn_Image" type="submit" value="保存头像">
											<input name="bigImage" type="hidden" id="bigImage" value="__PUBLIC__/js/kxthumb/image/dd.JPG" />
										</div>
										<div style="display:none;">
											图片实际宽度： <input name="txt_width" type="text" ID="txt_width" value="1"> <br />
											图片实际高度：<input name="txt_height" type="text" ID="txt_height" value="1"> <br />
											距离顶部：<input name="txt_top" type="text" ID="txt_top" value="82"><br />
											距离左边：<input name="txt_left" type="text" ID="txt_left" value="73"><br />
											截取框的宽：<input name="txt_DropWidth" type="text" ID="txt_DropWidth" value="120"><br />
											截取框的高：<input name="txt_DropHeight" type="text" ID="txt_DropHeight" value="120"><br />
											放大倍数： <input name="txt_Zoom" type="text" ID="txt_Zoom" value="">
										</div>
										<iframe id="upload_target" name="upload_target" src="#" style="width:0;height:0;border:0px solid #fff;"></iframe>
									</form>
							</div>    </td>
							<td align="center" valign="top" bgcolor="#FFFFFF"></td>
						</tr>
				</table></td>
			  <td valign="top">

				<iframe  name="uploadff" id="uploadff" frameborder=0 style="width:90%;height:60px;padding:0px;border:0px;background:#fff" src="__URL__/uploadFaceImg"></iframe></td>
			</tr>
		</table>
  
  
  </div><!-- 画布 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />